package com.producteev4j.model.json.task;

import com.producteev4j.model.response.BaseResponse;
import com.producteev4j.model.response.NoteWrapper;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by IntelliJ IDEA.
 * User: jcarrey
 * Date: 22/05/11
 * Time: 19:13
 * To change this template use File | Settings | File Templates.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class NoteWrapperImpl extends BaseResponse implements NoteWrapper {

    @JsonProperty("note")
    private NoteImpl note;

    public NoteImpl getNote() {
        return note;
    }

    public void setNote(NoteImpl note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return new StringBuilder("NoteWrapperImpl{").append(
                "note=").append(note).append(
                '}').toString();
    }
}
